package com.smfx.yxt.view;

import java.util.List;

import com.smfx.yxt.common.enums.WorkApprovalStatus;
import com.smfx.yxt.common.enums.WorkApprovalType;
import com.smfx.yxt.model.AttachmentList;
import com.smfx.yxt.model.TeacherInfo;
import com.smfx.yxt.model.WorkApproval;
import com.smfx.yxt.model.WorkApprovalItem;

public class WorkApprovalView extends WorkApproval {

	private static final long serialVersionUID = 4838863001398990433L;
	
	private WorkApprovalItem item;
	
	private List<TeacherInfo> ccTeacherList;
	
	private List<AttachmentList> attachList;
	
	private String approvalTypeText;
  	
  	private String approvalStatusText;
	
	private String applyerHeadImage;
	
	private String approverHeadImage;
	
	public WorkApprovalItem getItem() {
		return item;
	}
	public void setItem(WorkApprovalItem item) {
		this.item = item;
	}
    public List<TeacherInfo> getCcTeacherList() {
		return ccTeacherList;
	}
	public void setCcTeacherList(List<TeacherInfo> ccTeacherList) {
		this.ccTeacherList = ccTeacherList;
	}
	public List<AttachmentList> getAttachList() {
		return attachList;
	}
	public void setAttachList(List<AttachmentList> attachList) {
		this.attachList = attachList;
	}
	public String getApprovalStatusText() {
		approvalStatusText = WorkApprovalStatus.getDesc(super.getApprovalStatus());
    	return approvalStatusText;
    }
    public String getApprovalTypeText() {
    	approvalTypeText = WorkApprovalType.getDesc(super.getApprovalType());
    	return approvalTypeText;
    }
	public String getApplyerHeadImage() {
		return applyerHeadImage;
	}
	public void setApplyerHeadImage(String applyerHeadImage) {
		this.applyerHeadImage = applyerHeadImage;
	}
	public String getApproverHeadImage() {
		return approverHeadImage;
	}
	public void setApproverHeadImage(String approverHeadImage) {
		this.approverHeadImage = approverHeadImage;
	}
    
	public void setApprovalTypeText(String approvalTypeText) {
		this.approvalTypeText = approvalTypeText;
	}
	public void setApprovalStatusText(String approvalStatusText) {
		this.approvalStatusText = approvalStatusText;
	}
}
